﻿@model Web.Controllers.ShowPasswordResult
@using Security;
@{
    ViewBag.Title = "Password Generator";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section head {
    <link href="@Url.Content("~/Content/ShowPassword.css")" rel="stylesheet" type="text/css" />
}
<div class="label">
    MD5:</div>
<div class="result">@Model.MD5</div>
<div class="label">
    New:</div>
<div class="result">@Html.TextBox("result", @Model.Password, new { id = "password" })</div>
<div id="actions">
    <a href="javascript:window.history.back()">Back</a>
</div>
<script type="text/javascript">
    window.setTimeout(function () {
        var e = document.getElementById('password');
        if (e) e.focus();
    });
</script>
